package com.api.common.utils;

import org.springframework.util.ResourceUtils;

import java.io.File;
import java.io.FileNotFoundException;

/**
 * 文件工具类
 */
public class FileUtils {


    public  static String  getFilePath()  {
        String absolutePath =
                System.getProperty("user.dir")
                          + File.separator +"src"
                          + File.separator +"main"
                          + File.separator + "resources"
                          + File.separator + "static"
                          + File.separator + "upload" + File.separator;

        return  absolutePath;
    }

}
